---
title: "Twilio Provider"
description: "Twilio Provider is a provider that allows to notify alerts via SMS using Twilio."
---

## Inputs

The `notify` function in the `TwilioProvider` class takes the following parameters:

```python
kwargs (dict):
    message_body (str): The message to send. *Required*
    to_phone_number (str): The phone number to which you want to send SMS. *Required*
```

## Authentication Parameters

The TwilioProviderAuthConfig class takes the following parameters:

- account_sid (str): Twilio account SID. \*Required\*\*
- api_token (str): Twilio API token. \*Required\*\*
- from_phone_number (str): Twilio phone number from which SMS alert will be sent. \*Required\*\*

## Connecting with the Provider

To use the Twilio Provider you'll need API token.
How to create Twilio API token - https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them

## Useful Links

- Twilio API token - https://support.twilio.com/hc/en-us/articles/223136027-Auth-Tokens-and-How-to-Change-Them
- Twilio phone number - https://www.twilio.com/en-us/guidelines/regulatory
